﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<BonsaiScrum.Mvc.Models.DisableUserModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Disable
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Disable User</h2>
    
    <% using (Html.BeginForm()) { %>

            <div class="editor-field">
            <%= Html.DropDownListFor(m => m.UserId, Model.Users)%>
            <%= Html.ValidationMessageFor(m => m.UserId)%>
            </div>
            <p>
                <input type="submit" value="Disable User" />
            </p>
    <% } %>
</asp:Content>
